'use strict';

module.exports = {
    /**
     * @param {object|string} param
     * @param {Array<object>} list
     * @param {Function} successCallback ['success']
     * @param {Function} errorCallback ['fail'|'cancel'|'invalid']
     */
    start: function (successCallback, errorCallback) {
        cordova.exec(successCallback, errorCallback, "Sip", "start", []);
    },
    /*recognize: function (param, successCallback, errorCallback) {
      cordova.exec(successCallback, errorCallback, "HongRuan", "recognize", [param]);
    },
    finish: function (successCallback, errorCallback) {
        cordova.exec(successCallback, errorCallback, "HongRuan", "finish", []);
    },
    future: function (list, successCallback, errorCallback) {
        cordova.exec(successCallback, errorCallback, "HongRuan", "future", list);
    },
    cleanFuture: function (successCallback, errorCallback) {
        cordova.exec(successCallback, errorCallback, "HongRuan", "cleanFuture", []);
    },*/
};